//
//  AttackTitleCollectionReusableView.m
//  GiftNote
//
//  Created by wsh on 15/8/12.
//  Copyright (c) 2015年 GN. All rights reserved.
//

#import "AttackTitleCollectionReusableView.h"
#import "Screen.h"


@implementation AttackTitleCollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, SCREEN_WIDTH , 30)];
        _titleLabel.font = [UIFont systemFontOfSize:18];
        [self addSubview:_titleLabel];
        
    }
    return self;
}


- (void)setTitile:(NSString *)titile{
    _titile = titile;
    
    _titleLabel.text = titile;
}


@end
